package cn.fz.oop1;

public class Dog extends Animal{
    //Dog ：吼叫
    private String wang;

    public Dog(String name, int age, String color, String wang) {
        super(name, age, color);
        this.wang = wang;
    }

    public Dog() {
    }

    public String getWang() {
        return wang;
    }

    public void setWang(String wang) {
        this.wang = wang;
    }
}
